package com.lxq.action;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PatchMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.jws.WebParam;

@Controller
public class searchcontroller {

    @RequestMapping("/getsear/{id}")
    private  String getsearch(@PathVariable("id") int id, Model model){
        model.addAttribute("id",id);
        return "test";
    }

}
